ppppmmmmddddaaaaFFFFeeeettttcccchhhh, ppppmmmmddddaaaaSSSSeeeettttFFFFeeeettttcccchhhhCCCCaaaallllllllBBBBaaaacccckkkk - fill a pmResult structure with the
atom->d = /* assign a value for metric A, instance X1 */;
break;
case 1:
atom->d = /* assign a value for metric A, instance X2 */;
break;
default:
return PM_ERR_INST;
}
default:
return PM_ERR_PMID;
}
return 0;
}
The metric description _m_d_e_s_c and the instance identifier _i_n_s_t are used to
determine which metric and instance is required. The callback should
return 0000 unless the PMID or the instance are not supported, in which case
PPPPMMMM____EEEERRRRRRRR____PPPPMMMMIIIIDDDD or PPPPMMMM____EEEERRRRRRRR____IIIINNNNSSSSTTTT should be returned, respectively. If an
instance is not currently available, the callback should return
PPPPMMMM____EEEERRRRRRRR____AAAAGGGGAAAAIIIINNNN.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
The following error messages indicate that there is discrepancy between
the namespace, ppppmmmmddddaaaaMMMMeeeettttrrrriiiicccc and ppppmmmmddddaaaaIIIInnnnddddoooommmm tables passed to ppppmmmmddddaaaaIIIInnnniiiitttt(3), and